package com.j2009.springbootproject.service;

import com.j2009.springbootproject.mapper.AttendantMapper;
import com.j2009.springbootproject.entity.Attendant;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ClassName: AttendantServiceImpl
 * Description:
 * date: 2021/3/25 17:23
 *
 * @author wuyafeng
 * @version 1.0   softeem.com
 */
@Service
public class AttendantServiceImpl implements AttandentService {
    @Autowired
    private AttendantMapper mapper;
    @Override
    public List<Attendant> list() {
        return mapper.list();
    }

    @Override
    public Attendant getById(int id) {
       // return mapper.selectById(id);  //这个方法来自mapper的父类 BaseMapper
     return null;
    }
}
